package com.webshopping.entry;

import java.util.List;

public class SubOrder {

	private int id;
	private int commodityId;
	private int orderId;
	private int num;
	private String comment;
	private Commodity commodity;
	private String shopCarIdList;
	
	public String getShopCarIdList() {
		return shopCarIdList;
	}
	public void setShopCarIdList(String shopCarIdList) {
		this.shopCarIdList = shopCarIdList;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getCommodityId() {
		return commodityId;
	}
	public void setCommodityId(int commodityId) {
		this.commodityId = commodityId;
	}
	public int getOrderId() {
		return orderId;
	}
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public Commodity getCommodity() {
		return commodity;
	}
	public void setCommodity(Commodity commodity) {
		this.commodity = commodity;
	}
	@Override
	public String toString() {
		return "SubOrder [id=" + id + ", commodityId=" + commodityId + ", orderId=" + orderId + ", num=" + num
				+ ", comment=" + comment + ", commodity=" + commodity + ", shopCarIdList=" + shopCarIdList + "]";
	}
	
	
	
	
	
	
}
